package com.yjy.fuyao.sta.client;


import com.yjy.fuyao.sta.client.fallback.StuClientFallback;
import com.yjy.fuyao.utils.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-stu",fallback = StuClientFallback.class)
public interface StuClient {
    @GetMapping(value = "/admin/stu/course/countNewCourse/{day}")
    public R newCourseCount(@PathVariable String day);
}
